package com.onlyxiahui.extend.query.hibernate.handler.result;

import org.hibernate.type.Type;

/**
 * 
 * Date 2018-12-28 16:40:14<br>
 * Description
 * 
 * @author XiaHui<br>
 * @since 1.0.0
 */
public class ResultType {

	/**
	 * 数据库返回名称
	 */
	private String columnName;
	private String propertyName;

	/**
	 * 返回类型
	 */
	private Type returnType;

	public ResultType() {

	}

	public ResultType(String columnName, Type returnType) {
		this.columnName = columnName;
		this.returnType = returnType;
	}

	public ResultType(String columnName) {
		this.columnName = columnName;
	}

	public String getColumnName() {
		return columnName;
	}

	public void setColumnName(String columnName) {
		this.columnName = columnName;
	}

	public Type getReturnType() {
		return returnType;
	}

	public void setReturnType(Type returnType) {
		this.returnType = returnType;
	}

	public String getPropertyName() {
		return propertyName;
	}

	public void setPropertyName(String propertyName) {
		this.propertyName = propertyName;
	}

}
